<?php

interface Love
{
	function sajiao();
}

class KeAi implements Love
{
	function sajiao()
	{
		echo '哎呀,讨厌 <br />';
	}
}

class Tiger implements Love
{
	function sajiao()
	{
		echo '给老娘过来<br />';
	}
}

class GirlFriend
{
	protected $xingge;

	function __construct($xingge)
	{
		$this->xingge = $xingge;
	}

	function sajiao()
	{
		$this->xingge->sajiao();
	}
}